public class TestDemo {
    public static void main(String[] args) {
        Integer a = 0;
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        int b = 10;
        String str1 = String.valueOf(b); //将int类型的a转换为字符串类型
        System.out.println(str1);

        //按位与&
        int m = 10;  //00001010
        int o = 20;  //00010100
        System.out.println(m & o);
        int k = 0xf;
        System.out.printf("%x\n", ~k);
        int q = 10;
        int w = 20;
        int max = q > w ? q : w;
        System.out.println(max);
        // float f =3.9;  编译报错
        float f = 3.9f;

    }
}